<%@ page pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<c:set var="base" value="${pageContext.request.contextPath}"></c:set>

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="icon" href="../../favicon.ico">

    <title>用户登陆</title>

    <link href="${base }/resources/bootstrap/css/bootstrap.min.css" rel="stylesheet">

  </head>

  <body>

    <div class="container">
    
    <div> ${error}</div>

		<form role="form" method="post" action="${base }/login">
		  <div class="form-group">
		    <label for="username">用户名</label>
		    <input type="text" class="form-control" id="username" placeholder="username" name="username">
		  </div>
		  <div class="form-group">
		    <label for="password">密码</label>
		    <input type="password" class="form-control" id="password" placeholder="Password" name="password">
		  </div>
		  <button type="submit" class="btn btn-default">登陆</button>
		</form>

    </div> 
  </body>
  <script type="text/javascript" src="${base }/resources/jquery/jquery.min.js"></script>
  <script type="text/javascript" src="${base }/resources/bootstrap/js/bootstrap.min.js"></script>
</html>
